	<?php
		$user = array();
		foreach($dt->result_array() as $row){
			$user = $row;
		}
	?>
	<!-- BEGIN PAGE -->
	<div class="page-content">
         <!-- BEGIN PAGE CONTAINER-->        
         <div class="container-fluid">
            <!-- BEGIN PAGE HEADER-->
			<div class="row-fluid">
				<div class="span12"> 
					<!-- BEGIN PAGE TITLE & BREADCRUMB-->			
					<h3 class="page-title">
						Pengaturan Akun <small> merubah info akun dan password</small>
					</h3>
					<ul class="breadcrumb">
						<li>
							<i class="icon-user"></i>
							Pengaturan Akun	
						</li>	
					</ul>
					<!-- END PAGE TITLE & BREADCRUMB-->
				</div>
            </div>
            <!-- END PAGE HEADER-->
            <!-- BEGIN PAGE CONTENT-->          
            <div class="row-fluid">
			  <div class="span12">
				 <div class="span3">
					<ul class="ver-inline-menu tabbable margin-bottom-10">
					   <li class="active">
						  <a data-toggle="tab" href="#tab_1-1">
						  <i class="icon-cog"></i> 
						  Info Akun
						  </a> 
						  <span class="after"></span>                                    
					   </li>
					   <li class=""><a data-toggle="tab" href="#tab_1-2"><i class="icon-lock"></i> Ubah Password</a></li>
					</ul>
				 </div>
				 <div class="span9">
					<div class="tab-content">
					   <div id="tab_1-1" class="tab-pane active">
						  <div style="height: auto;" id="accordion1-1" class="accordion collapse">
							<div class="portlet box blue">
							  <div class="portlet-title">
								 <div class="caption"><i class="icon-reorder"></i>Form Info Akun</div>
							  </div>
							  <div class="portlet-body form">
								 <form id="form-account" class="horizontal-form" action="<?php echo base_url()?>user/index/account" method="post">
									<input type="hidden" name="data[user_id]" value="<?php echo $user['user_id']?>" /> 
									<div class="control-group">
										<label class="control-label">Username</label>
										<input type="text" id="username" name="data[username]" value="<?php echo isset($user['username'])?$user['username']:''?>" required placeholder="username" class="m-wrap span8" />
									</div>
									<div class="form-actions">
									   <button type="submit" class="btn blue">Simpan Perubahan</button>
									</div>
								 </form>
								</div>
							</div>
						  </div>
					   </div>
					   <div id="tab_1-2" class="tab-pane">
						  <div style="height: auto;" id="accordion3-3" class="accordion collapse">
							<div class="portlet box blue">
								<div class="portlet-title">
									<div class="caption"><i class="icon-reorder"></i>Form Ubah Password</div>
								</div>
								<div class="portlet-body form">
								 <form id="form-password" class="horizontal-form" action="<?php echo base_url()?>user/index/change-password" method="post">
									<input type="hidden" name="data[user_id]" value="<?php echo $user['user_id']?>" /> 
									<div class="control-group">
										<label class="control-label">Password Baru</label>
										<input type="password" id="password" name="data[password]" required placeholder="password baru" class="m-wrap span8" />
									</div>
									<div class="control-group">
										<label class="control-label">Ketik Ulang Password Baru</label>
										<input type="password" id="password_confirm" placeholder="ketik ulang password Anda" required equalTo="#password" class="m-wrap span8" />
									</div>
									<div class="form-actions">
									   <button type="submit" class="btn blue">Ubah Password</button>
									</div>
								 </form>
								</div>
							</div>
						  </div>
					   </div>
					</div>
				 </div>
				 <!--end span9-->                                   
			  </div>
		   </div>
            <!-- END PAGE CONTENT-->
         </div>
         <!-- END PAGE CONTAINER-->
    </div>
    <!-- END PAGE -->